package com.xx.ch09.demo.demo01.controller;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

import java.util.AbstractCollection;

/**
 * @author 许欣
 * 时间：2022/4/25 13:48
 * 描述：
 */
public class HelloController extends AbstractController {
    @Override
    protected ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception {
        System.out.println("Spring MVC框架搭建成功");
        return new ModelAndView("hello");
    }
}
